<template>
  <div class="topbar">
    <div class="topbarwarp warp">
      <div class="left">欢迎来到叩丁严选</div>
      <ul class="right">
        <li>
          <img src="../assets/img/userImg.f8bbec5e.png" alt="" />
          用户名：游客
        </li>
        <li>我的鸡腿：--</li>
        <li>获取鸡腿</li>
        <li>扣丁狼官网</li>
        <!-- <li class="cart-btn" v-if="isLoginstatus">
          <img src="../assets/img/cart.png" alt="" />
          <span>购物车</span>
          <strong>66</strong>
        </li> -->
        <li>登录</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
};
</script>

<style lang="less">
.topbar {
  height: 40px;
  background-color: #242b39;
  .topbarwarp {
    font-size: 14px;
    // font-family: SourceHanSansSC;
    display: flex;
    font-weight: 300;
    color: #fffefe;
    justify-content: space-between;
    line-height: 40px;
  }
  .right {
    display: flex;
    li {
      padding: 0 10px;
      text-align: center;
      cursor: pointer;
      img {
        width: 23px;
        height: 23px;
        // background: #7d8696;
        border-radius: 13px;
        vertical-align: middle;
      }
    }
    :nth-child(5) {
      padding: 0;
      width: 124px;
      height: 40px;
      background: #0a328e;
    }
    .cart-btn {
      width: 124px;
      height: 40px;
      background-color: #0a328e;
      text-align: center;
      img {
        width: 20px;
        height: 19px;
        vertical-align: middle;
      }
      span {
        margin: 0 8px;
      }
      strong {
        width: 22px;
        height: 22px;
        line-height: 22px;
        display: inline-block;
        border-radius: 50%;
        background-color: #fd604d;
      }
    }
  }
}
</style>